package com.travel.travelServer.service1;

import com.github.pagehelper.PageInfo;
import com.travel.travelServer.entity1.Landscapes;
import com.travel.travelServer.entity1.vo.LandscapesVo;

import java.util.List;

public interface LandscapesService {

    /**
     * 新增Landscapes
     *
     * @param landscapesVo
     * @return 结果
     */
    int insertLandscapes(LandscapesVo landscapesVo);

    /**
     * 单个删除Landscapes信息
     *
     * @param id-主键
     * @return 结果
     */
    int deleteById(Long id);

    /**
     * 批量删除Landscapes信息
     *
     * @param ids-主键[]
     * @return 结果
     */
    int deleteByIds(Long[] ids);

    /**
     * 修改Landscapes
     *
     * @param landscapesVo
     * @return 结果
     */
    int updateLandscapes(LandscapesVo landscapesVo);

    /**
     * 查询Landscapes
     *
     * @param id-主键
     * @return Landscapes
     */
    Landscapes selectById(Long id);

    /**
     * 查询Landscapes列表
     *
     * @param landscapesVo
     * @return Landscapes集合
     */
    List<Landscapes> selectLandscapesList(LandscapesVo landscapesVo);

    PageInfo<Landscapes> getInfoPage(LandscapesVo landscapesVo);
}
